<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use backend\models\ClassifyForm;
use backend\models\Classify;

?>
<div class="collapse navbar-collapse" style='background-color:black;'>
	<span>后台</span>>><span>职位分类</span>
</div>
<?php $form=ActiveForm::begin(['action'=>'?w=classify/add']);?>
<center><h1>分类添加</h1></center>
<table class='table table-bordered'>
	<tr>
		<th>分类所属层级</th>
		<td><? echo $form->field($class, 'classify_action')->label('')->dropDownList($datas, ['style'=>'width:120px']); ?></td>
	</tr>
	<tr>
		<th>分类</th>
		<td><input type="text" name='classify_name' class='form-control' style='width:300px'></td>
	</tr>
	<tr>
		<td></td>
		<td><?=Html::submitButton('添加',['class'=>'btn btn-primary']);?></td>
		<td><a href="?w=classify/query" class='btn btn-primary'>分类列表</a></td>
	</tr>
</table>
<br>
<?php ActiveForm::end();?>

